// 这里导入你要使用的图标
/* 引入IconPark图标库 */
import '@icon-park/vue-next/styles/index.css'
import { Home, System, Peoples, UserBusiness, Caution, Refresh, OffScreen, FullScreen, Search, DownloadFour, Agreement, User, Help, Down, Book, Code, Family, RobotOne,Send ,EmailSecurity } from '@icon-park/vue-next' // 引入所有官方图标

export default (app) => {
  const icons = { Home, System, Peoples, UserBusiness, Caution, Refresh, OffScreen, FullScreen, Search, DownloadFour, Agreement, User, Help, Down, Book, Code, Family, RobotOne,Send , EmailSecurity}
  Object.keys(icons).forEach((key) => {
    const iconName = `i-${key}` // 重命名图标
    app.component(iconName, icons[key])
  })
}
